package com.lq.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "基础返回类",description = "基础返回类")
public class FFResponseModel<T>implements Serializable {

	private static final long serialVersionUID = 6742587619429044972L;
	
	@ApiModelProperty(value = "状态码",example = "成功")
	private String code;

	@ApiModelProperty(value = "业务提示语",example = "000")
	private String msg;
	//数据对象
	private T data;
	
	
	
	
	
	public FFResponseModel(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
}
